import java.util.Scanner;
// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main
{
    public static int N = 510, M = 510 * 110 / 2;
    public static int n;
    public static int[] arr = new int[N];
    public static boolean[][] dp = new boolean[N][M];
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        n = in.nextInt();
        int sum = 0;
        for(int i = 1; i <= n; i++) {
            arr[i] = in.nextInt();
            sum += arr[i];
        }
        if(sum % 2 == 1)
            System.out.println("false");
        else {
            sum /= 2;
            dp[0][0] = true;
            for(int i = 1; i <= n; i++) {
                for(int j = 0; j <= sum; j++) {
                    dp[i][j] = dp[i - 1][j];
                    if(j >= arr[i]) {
                        dp[i][j] = dp[i][j] || dp[i - 1][j - arr[i]];
                    }
                }
            }
            if(dp[n][sum])
                System.out.println("true");
            else
                System.out.println("false");
        }
    }
}
